package com.siha_back.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * 推送消息表(PushNotifications)实体类
 *
 * @author makejava
 * @since 2025-04-16 10:41:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PushNotifications implements Serializable {
    private static final long serialVersionUID = 346321664540792270L;
/**
     * 推送ID
     */
    private Long id;
/**
     * 用户ID
     */
    private Integer majorId;
/**
     * 推送类型
     */
    private Integer notificationId;
/**
     * 推送标题
     */
    private String title;
/**
     * 推送内容
     */
    private String content;
/**
     * 是否已读
     */
    private Integer readStatus;
/**
     * 发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;


}

